package com.aaa.entity.sds;

import com.aaa.entity.User;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.io.Serializable;
import java.util.Date;

@Table(name = "t_sds_plane")
@Data
//@ApiModel(value = "TSdsPlane)", description = "")
public class TSdsPlane implements Serializable {
private static final long serialVersionUID = -17739181964597406L;
 @Id
 @Column(name = "id")
 private Integer id;
 @Column(name = "planename")
 //@ApiModelProperty(value = "计划的名字")
 private String planename;

 @Column(name = "begintime")
 //@ApiModelProperty(value = "开始时间")
 @DateTimeFormat(pattern = "yyyy-MM-dd")
 private Date begintime;

 @Column(name = "endtime")
 //@ApiModelProperty(value = "结束时间")
 @DateTimeFormat(pattern = "yyyy-MM-dd")
 private Date endtime;

 @Column(name = "code")
 //@ApiModelProperty(value = "邀请码")
 private String code;

 @Column(name = "uid")
 //@ApiModelProperty(value = "创建人")
 private Integer uid;

 @Column(name = "createtime")
 //@ApiModelProperty(value = "创建时间")
 private Date createtime;

 @Column(name = "updatetime")
 //@ApiModelProperty(value = "修改时间")
 private Date updatetime;

 @Column(name = "status")
 //@ApiModelProperty(value = "状态  1 启用   2 禁用")
 private Integer status;


// // 创建人
// @Transient
// private User user1 = new User();

 @Transient
 //模糊查询
 private User user;


}

